<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Archi-Strasbourg: Référence de la classe Template</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Archi-Strasbourg
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Liste&#160;des&#160;classes</span></a></li>
      <li><a href="classes.html"><span>Index&#160;des&#160;classes</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&#160;des&#160;classes</span></a></li>
      <li><a href="functions.html"><span>Membres&#160;de&#160;classe</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Fonctions membres publiques</a> &#124;
<a href="#pub-attribs">Attributs publics</a> &#124;
<a href="classTemplate-members.html">Liste de tous les membres</a>  </div>
  <div class="headertitle">
<div class="title">Référence de la classe Template</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Fonctions membres publiques</h2></td></tr>
<tr class="memitem:a02bee9b3128a953df7363c20424b3dd4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a02bee9b3128a953df7363c20424b3dd4">Template</a> ($root=&quot;./&quot;)</td></tr>
<tr class="memitem:abd52c326e56759710e7c87e5bc6c7222"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#abd52c326e56759710e7c87e5bc6c7222">destroy</a> ()</td></tr>
<tr class="memitem:ac679f8fded21c0adc93505ecd4e8ffd7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#ac679f8fded21c0adc93505ecd4e8ffd7">set_rootdir</a> ($dir)</td></tr>
<tr class="memitem:a9ef1bc6519c14110ebe5b3dc4e6b1a2b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a9ef1bc6519c14110ebe5b3dc4e6b1a2b">set_filenames</a> ($filename_array)</td></tr>
<tr class="memitem:a4fb1e23480234e80ac18100c87695d89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a4fb1e23480234e80ac18100c87695d89">pparse</a> ($handle)</td></tr>
<tr class="memitem:ad413484cbf61ac2c6dee83c1475d8fa6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#ad413484cbf61ac2c6dee83c1475d8fa6">assign_var_from_handle</a> ($varname, $handle)</td></tr>
<tr class="memitem:a678299101826d25900c583ffe60b5701"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a678299101826d25900c583ffe60b5701">assign_block_vars</a> ($blockname, $vararray)</td></tr>
<tr class="memitem:a043bf5b02889a86c629c4fb5d453024d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a043bf5b02889a86c629c4fb5d453024d">assign_vars</a> ($vararray)</td></tr>
<tr class="memitem:a0f543b13eb135a3de07260849371f697"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a0f543b13eb135a3de07260849371f697">assign_var</a> ($varname, $varval)</td></tr>
<tr class="memitem:a5cddfffeac07bcee648abaa17d0a3e02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#a5cddfffeac07bcee648abaa17d0a3e02">make_filename</a> ($filename)</td></tr>
<tr class="memitem:aa6ebd278b46fb5be0342ff936218309b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#aa6ebd278b46fb5be0342ff936218309b">loadfile</a> ($handle)</td></tr>
<tr class="memitem:ad8ebdbdff86261d0d1c54dce541c971e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#ad8ebdbdff86261d0d1c54dce541c971e">compile</a> ($code, $do_not_echo=false, $retvar= '')</td></tr>
<tr class="memitem:ad20259ad6b8c406075f1594b4dba427a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#ad20259ad6b8c406075f1594b4dba427a">generate_block_varref</a> ($namespace, $varname)</td></tr>
<tr class="memitem:afb8318b3fb0b2b230c1ee083082d3511"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#afb8318b3fb0b2b230c1ee083082d3511">generate_block_data_ref</a> ($blockname, $include_last_iterator)</td></tr>
<tr class="memitem:acb080f1cb33cb6c64657458e50711602"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTemplate.html#acb080f1cb33cb6c64657458e50711602">translate</a> ($code)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Attributs publics</h2></td></tr>
<tr class="memitem:a25ee2a9c081433f9e00c261966c5bda7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25ee2a9c081433f9e00c261966c5bda7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$classname</b> = &quot;Template&quot;</td></tr>
<tr class="memitem:ab1988d44ea8155bd38094f8c28ccc37d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1988d44ea8155bd38094f8c28ccc37d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$_tpldata</b> = array()</td></tr>
<tr class="memitem:af19ff79ffa1bec646cbbd7b5ec6b8cc7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af19ff79ffa1bec646cbbd7b5ec6b8cc7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$files</b> = array()</td></tr>
<tr class="memitem:a3acdcc2a4216ef8565fcc5a3a0abb4fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3acdcc2a4216ef8565fcc5a3a0abb4fb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$root</b> = &quot;./&quot;</td></tr>
<tr class="memitem:acb9f0ba114cc30927c5dadfa3d96a66e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb9f0ba114cc30927c5dadfa3d96a66e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$compiled_code</b> = array()</td></tr>
<tr class="memitem:a559afe1b1276b3e10e455f414fe33b0b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a559afe1b1276b3e10e455f414fe33b0b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>$uncompiled_code</b> = array()</td></tr>
</table>
<h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a678299101826d25900c583ffe60b5701"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::assign_block_vars </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$blockname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$vararray</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Block-level variable assignment. Adds a new block iteration with the given variable assignments. Note that this should only be called once per block iteration.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$blockname</td><td>Nom du bloc </td></tr>
    <tr><td class="paramtype">array</td><td class="paramname">$vararray</td><td>Variables</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>true </dd></dl>

</div>
</div>
<a class="anchor" id="a0f543b13eb135a3de07260849371f697"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::assign_var </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$varname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$varval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Root-level variable assignment. Adds to current assignments, overriding any existing variable assignment with the same name.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$varname</td><td>Nom de la variable </td></tr>
    <tr><td class="paramtype">mixed</td><td class="paramname">$varval</td><td>Valeur de la variable</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="ad413484cbf61ac2c6dee83c1475d8fa6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::assign_var_from_handle </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$varname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$handle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts the uncompiled code for $handle as the value of $varname in the root-level. This can be used to effectively include a template in the middle of another template. Note that all desired assignments to the variables in $handle should be done BEFORE calling this function.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$varname</td><td>Nom de la variable </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$handle</td><td>?</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="a043bf5b02889a86c629c4fb5d453024d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::assign_vars </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$vararray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Root-level variable assignment. Adds to current assignments, overriding any existing variable assignment with the same name.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$vararray</td><td>Variables</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="ad8ebdbdff86261d0d1c54dce541c971e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::compile </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$do_not_echo</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$retvar</em> = <code>''</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compiles the given string of code, and returns the result in a string. If "do_not_echo" is true, the returned code will not be directly executable, but can be used as part of a variable assignment for use in assign_code_from_handle().</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$code</td><td>Code </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$do_not_echo</td><td>? </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$retvar</td><td>?</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>string </dd></dl>

</div>
</div>
<a class="anchor" id="abd52c326e56759710e7c87e5bc6c7222"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroys this template object. Should be called when you're done with it, in order to clear out the template data so you can load/parse a new template set.</p>
<dl class="section return"><dt>Renvoie</dt><dd>void </dd></dl>

</div>
</div>
<a class="anchor" id="afb8318b3fb0b2b230c1ee083082d3511"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::generate_block_data_ref </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$blockname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$include_last_iterator</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generates a reference to the array of data values for the given (possibly nested) block namespace. This is a string of the form: $this-&gt;_tpldata['parent'][$_parent_i]['$child1'][$_child1_i]['$child2'][$_child2_i]...['$childN']</p>
<p>If $include_last_iterator is true, then [$_childN_i] will be appended to the form shown above. NOTE: does not expect a trailing "." on the blockname.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$blockname</td><td>? </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$include_last_iterator</td><td>?</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>string </dd></dl>

</div>
</div>
<a class="anchor" id="ad20259ad6b8c406075f1594b4dba427a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::generate_block_varref </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$namespace</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$varname</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generates a reference to the given variable inside the given (possibly nested) block namespace. This is a string of the form: ' . $this-&gt;_tpldata['parent'][$_parent_i]['$child1'][$_child1_i]['$child2'][$_child2_i]...['varname'] . ' It's ready to be inserted into an "echo" line in one of the templates. NOTE: expects a trailing "." on the namespace.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$namespace</td><td>? </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$varname</td><td>?</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>string </dd></dl>

</div>
</div>
<a class="anchor" id="aa6ebd278b46fb5be0342ff936218309b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::loadfile </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$handle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If not already done, load the file for the given handle and populate the uncompiled_code[] hash with its code. Do not compile.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$handle</td><td>?</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="a5cddfffeac07bcee648abaa17d0a3e02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::make_filename </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generates a full path+filename for the given filename, which can either be an absolute name, or a name relative to the rootdir for this <a class="el" href="classTemplate.html">Template</a> object.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$filename</td><td>Nom du fichier</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>string Nom du fichier </dd></dl>

</div>
</div>
<a class="anchor" id="a4fb1e23480234e80ac18100c87695d89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::pparse </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$handle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Load the file for the handle, compile the file, and run the compiled code. This will print out the results of executing the template.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$handle</td><td>?</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>void </dd></dl>

</div>
</div>
<a class="anchor" id="a9ef1bc6519c14110ebe5b3dc4e6b1a2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::set_filenames </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$filename_array</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the template filenames for handles. $filename_array should be a hash of handle =&gt; filename pairs.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$filename_array</td><td>Nom des fichiers</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="ac679f8fded21c0adc93505ecd4e8ffd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::set_rootdir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the template root directory for this <a class="el" href="classTemplate.html">Template</a> object.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$dir</td><td>Répertoire</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>bool </dd></dl>

</div>
</div>
<a class="anchor" id="a02bee9b3128a953df7363c20424b3dd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::Template </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$root</em> = <code>&quot;./&quot;</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor. Simply sets the root dir.</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$root</td><td>Chemin de la racine</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>void </dd></dl>

</div>
</div>
<a class="anchor" id="acb080f1cb33cb6c64657458e50711602"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Template::translate </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$code</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Cherche les chaines traduisibles</p>
<dl class="params"><dt>Paramètres</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$code</td><td>Le code à analyser</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Renvoie</dt><dd>$string </dd></dl>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>includes/framework/frameworkClasses/Template.class.php</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Jeudi Décembre 6 2012 18:54:59 pour Archi-Strasbourg par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>
